<%--
  Created by IntelliJ IDEA.
  User: qiliping
  Date: 16/7/20
  Time: 下午12:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>Title</title>
    <script>
        $(function(){
            $("#val").focus();

        })
    </script>
</head>
<body>
<ul>
    <li>
        <h1>1+1=?</h1>
    </li>
    <li>
        <input type="text" id="val" autofocus pattern="\d*" class="inputbox" name="val" />
    </li>

    <li>
        <input type="submit" value="下一题" />
    </li>
</ul>
</body>
</html>
